﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Лабораторная_работа_1_СОД
{
    public partial class Form3 : Form
    {
        private readonly Form1 form;
        public Form3(Form1 frm1)
        {
            this.form = frm1;
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            form.ch1 = false;
            this.Close();

        }

        private void button2_Click(object sender, EventArgs e)
        {
            form.ch1 = true;
            this.Close();
        }
    }
}
